develop function for multiple_logins and remember_me.