implemented a filter for login, create assignment view