Login and Registration Error Handling pom changes

POM Changes