add registration and authorization frontend