Adding new login system
removed some comments