err messages and reg form toggling