Sets correct last_access column on login