Now sends appropriate http status code
Added failed registration attempt from simple login form