fixed user signin and display error on fail. Also blocked documents on guest