Merge pull request #4 from earth660/generate-top-page

Generate top page
update template
redirect to teachers/login if unauthenticated
fix top page
add login function
fix display code application.html.erb
Merge branch 'generate-top-page' into dev
Merge remote-tracking branch 'origin' into dev
partial login form
partial signup form
Merge branch 'dev' of github.com:earth660/oz into dev