Finalize login stuff