final login and registration web services along with error codes

final login and registration web services along with error codes