modified files to create user login and popup window