enhancing loggin features