added user authentication; also style changes