User class moved into new file and added all methods needed to run stream