Please see - Auto login to my account
where you can edit the etc/lightdm/lightdm.conf file to get an auto login.
The file should contain these lines:
[Seat:*]
autologin-guest=false
autologin-user=rick
autologin-user-timeout=0
in order for 'rick' to automatically log in.