Moved sign_in, register, front to a Front Controller, Performance fix in category.rb, database was being checked two times with no need to