checkLogin will return getUserByName
Set user active/inactive