Fix hiding tabs when not signed in and add users factory