Added if not nill statement to hide certian links

we do not want the "im here" and "all attendances" links showing on
the sign in page for no authenticated users so I am using a simple
if not nill argument to hide them