added login feature and enhanced code of register and login
Client Notification

On login or register actions showing proper messages to client