added user sign-in functionality and duplocate email validation
refactored layout (using partials) and server.rb into controllers
moved lib file into app/models