added error handling for signup (email exists in DB)