created log in screen with error reporting