changed name of fuinction from attemptLogin to validateLogin
created stub index and login pages