Added login restrictions