Made login persistent.