Adding better login rest actions