Written login/logout cases on MainController
Written User.checkPass(String pass)