added a preview of login