add and config rspec & capybara
add api link to application.html.erb
disable the popup window
improve guest online time display
show user online time in a better way
refactor a little and let the test pass
refactor to a ugly but more reasonable way