Added option for limiting a user from logging in