configured the log in functionality