Login / Register / Main Page working