Fix typo and add docblocks flashable trait
Change conditional to check if user is logged in, instead of looking for hard coded url path
Show login when user is not logged in