trying to render error messages on login in page