add user authentication; update gems