error result added to login view