Set of functions for user login capability.