user is directed to dashboard after registering and tests are working