added basic email, username, and password validation and enforced username uniqueness (case insensitive)
moved comment into rails block to prevent the server from trying to parse it (couldn't load the page)