Merged backend and frontend, registration is working fine