add framework pages.
done the login logic