fixes registration page