improved templates login, profile