fix login and user registration. fix account profile.
merge page in index
add directive todo