move configure to main.rb
added link to log in page