fixing the visibility of register view when the user isn't logged