created basic login functionality using modal window