added login
removing unnecssary stuff