It's still in a rough shape, needs more tests and beautification of haml templates. There is a current_user method that returns the User object of the current user or nil if the user is not authenticated. A User object has the admin? and new_user? methods. The first user that gets created has the admin role. Any following users created have the new_user role.
Added some content to fill out the welcome view, but there are still some issues: * The image_tag "code.png" shouldn't be in the application.html.haml, as it is not an application-wide resource * I've disabled the bootstrap CSS and just inserted my modified bootstrap CSS instead. For those elements that are styled by the modified CSS, we should probably pull them out into new div classes and style them with a small custom css. * The spans that house the demographic selectors "For biologists", "For coding" etc need some padding (10px?) * The annoucements section needs to be fixed up so that we can bring in content in markdown, perhaps?