Finishing login and registration part