Errors and validation

Added error pop ups to both screens
Added validation