-added code for log in screen