first draft code for login and index. added img and css to static directory