added dynamic navbar with helper function to set active state
added user auth and new user registration form with validations