Added registration,login and logout feature

Added registration,login and logout feature