add login functionality in site client