this makes everything work better
also, added a feature so that the members area is inaccessible except for logging in