Added register user backend funcitonality & reworked userlist api