fixes and refactors
recent changes
changed a few for ins to .each, fixed a couple things when a student is logged in, fixed student ability, added better errors to gemfile, other small fixes