added views to log user in if they are trying to buy without being logged in.