session in sepated file and error handling for r.ParseMultipartForm added