fixed error when form is showing on non log on user