register and login activities added

identification of the user by id methods modified and some other server
side modifications plus webservices