added functionality for signup
added functionality for sign in error message