Fixing/Implementing the login system into user class