trying out log in back function