Added login state, userservice and login controller/service