Mike login page

The homepage is responsible to save the loginbox state so that data entered is not lost if the overlay is closed then reopened
![image](https://cloud.githubusercontent.com/assets/4157103/4431349/8749760c-4662-11e4-8b9d-fa656abfd81d.png)

Can you provide a comment with regards to what `r1` and `r2` do? This is a bit cryptic, even though I have no doubt it's super good performance-wise.