Adding login on controller_mixin