Fixed alert link appearing when not logged in