creating login modal, partially complete, not working