Add register functionality, flash messages, styling