Improved the login system. It's functionnal now