committing rails components
added rails controllers, configured controller for sessions and created user api controller. added gems.