Modify account status on login event