fixed index error on signup also uploaded mailserver with webserver var