Unstable rails3

Makes logging in and default my page usable.