user functions added

functions logins and user_id_from_username