change spec/support using shared_context
fix login controller logic