Updated application to fix erb issue
Removed authlogic-specific code
Upated db schema