added login form and erdirect it to users and intrigrate update feature