General user-based skeleton for rails application