feature update. login and sweet alert.