Added logout page
Fixed auth redirect issue
Updated controllers and view
Updated controller and views