Return last task in login