added login/registration at front end