final login and registration web services along with error codes