Fixed small redirection error
 added the signin and signout functionality
Added basic validation for signedin users