Added some security so that forms don't show up when the user doesn't have permission to access them.