Made login madatory before viewing invites