added redirect from register page and fixed colors
fixed tests