Added logic to implement SignIn and SignOut

Implementation to show the courses for the logged user