Started work on $login stuff