finished validations and added bottom bar