changed position of libs, added email support when registering a new
user, fixed pdf output - it is now cut off after 100chars in a line.