Adding register backend and finishing google register/login