Progress on #20

Fixed so that if the user clicks on something that requires log in it
redirects the user to where they were trying to go